package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

public class TmcPay extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 序号
     */
    private Long id;

    /**
     * 业主姓名
     */
    @Excel(name = "业主姓名")
    private String userName;

    /**
     * 业主电话
     */
    @Excel(name = "业主电话")
    private Long CellPhone;


    /**
     * 楼栋
     */
    @Excel(name = "楼栋")
    private String UnitName;
    /**
     * 小区名称
     */
    @Excel(name = "小区名称")
    private String companyName;


    /**
     * 门牌号
     */
    @Excel(name = "门牌号")
    private String HouseName;

    /**
     * 房租面积
     */
    @Excel(name = "门牌号")
    private Double area;

    /**
     * 停车位
     */
    @Excel(name = "停车位")
    private int packingNum;

    /**
     * 物业费
     */
    @Excel(name = "物业费")
    private Double property;

    /**
     * 生成时间
     */
    @JsonFormat(pattern = "yyyy-MM")
    @Excel(name = "生成时间")
    private Date createTime;

    /**
     * 垃圾费
     */
    @Excel(name = "垃圾费")
    private Double trush;


    /**
     * 用电量
     */
    @Excel(name = "用电量")
    private Double electricity;


    /**
     * 用水量
     */
    @Excel(name = "用水量")
    private Double water;

    /**
     * 电梯维护费用
     */
    @Excel(name = "电梯维护费用")
    private Double elevatorMaintenance;

    /**
     * 电梯电费
     */
    @Excel(name = "电梯电费")
    private Double elevatorElectricity;

    /**
     * 电梯年检费
     */
    @Excel(name = "电梯年检费")
    private Double elevatorAnnualInspection;

    /**
     * 小区均摊费用
     */
    @Excel(name = "小区均摊费用")
    private Double community;

    /**
     * 车库月租
     */
    @Excel(name = "车库月租")
    private Double garage;

    /**
     * 临时停车费用
     */
    @Excel(name = "临时停车费用")
    private Double temporaryParking;

    /**
     * 其他维修费用
     */
    @Excel(name = "其他维修费用")
    private Double other;

    /**
     * 总和
     */
    @Excel(name = "总和")
    private Double sum;

    //    总账单id
    @Excel(name = "总和")
    private Long houseBillId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Long getCellPhone() {
        return CellPhone;
    }

    public void setCellPhone(Long CellPhone) {
        CellPhone = CellPhone;
    }

    public String getUnitName() {
        return UnitName;
    }

    public void setUnitName(String unitName) {
        UnitName = unitName;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getHouseName() {
        return HouseName;
    }

    public void setHouseName(String houseName) {
        HouseName = houseName;
    }

    public Double getArea() {
        return area;
    }

    public void setArea(Double area) {
        this.area = area;
    }

    public int getPackingNum() {
        return packingNum;
    }

    public void setPackingNum(int packingNum) {
        this.packingNum = packingNum;
    }

    public Double getProperty() {
        return property;
    }

    public void setProperty(Double property) {
        this.property = property;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Double getTrush() {
        return trush;
    }

    public void setTrush(Double trush) {
        this.trush = trush;
    }

    public Double getElectricity() {
        return electricity;
    }

    public void setElectricity(Double electricity) {
        this.electricity = electricity;
    }

    public Double getWater() {
        return water;
    }

    public void setWater(Double water) {
        this.water = water;
    }

    public Double getElevatorMaintenance() {
        return elevatorMaintenance;
    }

    public void setElevatorMaintenance(Double elevatorMaintenance) {
        this.elevatorMaintenance = elevatorMaintenance;
    }

    public Double getElevatorElectricity() {
        return elevatorElectricity;
    }

    public void setElevatorElectricity(Double elevatorElectricity) {
        this.elevatorElectricity = elevatorElectricity;
    }

    public Double getElevatorAnnualInspection() {
        return elevatorAnnualInspection;
    }

    public void setElevatorAnnualInspection(Double elevatorAnnualInspection) {
        this.elevatorAnnualInspection = elevatorAnnualInspection;
    }

    public Double getCommunity() {
        return community;
    }

    public void setCommunity(Double community) {
        this.community = community;
    }

    public Double getGarage() {
        return garage;
    }

    public void setGarage(Double garage) {
        this.garage = garage;
    }

    public Double getTemporaryParking() {
        return temporaryParking;
    }

    public void setTemporaryParking(Double temporaryParking) {
        this.temporaryParking = temporaryParking;
    }

    public Double getOther() {
        return other;
    }

    public void setOther(Double other) {
        this.other = other;
    }

    public Double getSum() {
        return sum;
    }

    public void setSum(Double sum) {
        this.sum = sum;
    }

    @Override
    public String toString() {
        return "TmcPay{" +
                "id=" + id +
                ", userName='" + userName + '\'' +
                ", CellPhone=" + CellPhone +
                ", UnitName='" + UnitName + '\'' +
                ", companyName='" + companyName + '\'' +
                ", HouseName='" + HouseName + '\'' +
                ", area=" + area +
                ", packingNum=" + packingNum +
                ", property=" + property +
                ", trush=" + trush +
                ", electricity=" + electricity +
                ", water=" + water +
                ", elevatorMaintenance=" + elevatorMaintenance +
                ", elevatorElectricity=" + elevatorElectricity +
                ", elevatorAnnualInspection=" + elevatorAnnualInspection +
                ", community=" + community +
                ", garage=" + garage +
                ", temporaryParking=" + temporaryParking +
                ", other=" + other +
                ", sum=" + sum +
                '}';
    }

    public Long getHouseBillId() {
        return houseBillId;
    }

    public void setHouseBillId(Long houseBillId) {
        this.houseBillId = houseBillId;
    }
}